I've always said that the insanity plea should be GUILTY by reason of insanity, not innocent.
The person did the crime, possibly BECAUSE of the insanity, but they are still GUILTY of the crime.

If they truly are insane, it may affect the punishment, but it doesn't change the FACT that they're guilty.