Answer
The answer is "Where No Man Has Gone Before", a Star Trek episode that first aired in 1966. In this episode, Sally Kellerman portrayed Dr. Elizabeth Dehner, a brilliant scientist aboard the USS Enterprise. The character grappled with the dangerous mental enhancements granted by a space phenomenon, adding complexity and drama to the storyline.