DrCrowTStarwars said:
It's the one Shatner ripped off when he made Star Trek V only the TV version is somehow worse and it feels longer.
It's called The way to Eden.
I always thought The Final Frontier lifted off Beyond The Farthest Star myself. Both have a malevolent energy being that want to use the Enterprise as it's "body" to escape it's prison.
If you know anything about TFF's troubled history, the studio meddled with it, lest anyone be offended by musings on Gods and Devils, which was familiar territory for Trek.
There are no singing space hippies in TFF.