Star Trek: The Next Generation: Season 3, Episode 20
3 - 20: Tin Man
Stardate: 43779.3 The Enterprise encounters a 'living' ship in the Neutral Zone, and risks breaking the Romulan Federation alliance in order to bring it into contact with a Betazoid emissary.