Petrocelli: Season 1, Episode 3
By Reason of Madness (25 Sep. 1974)
Petrocelli defends a wife accused of killing her husband. She knows she killed him but says she didn't know she was doing it. Petrocelli soon realizes she was mentally ill and has to prove her not guilty by reason of insanity.