The Enemy Within

A transporter malfunction causes Captain Kirk to split into his "good" and "evil" selves, and a landing party will freeze to death if they don't merge the two back together.