The insanity Defense can be used in cases involving capital punishment, correct?

They can try. I've read that juries don't buy that defense much anymore, though!