I Googled that and this is what I found.
The INSANITY DEFENSE is used in less than 1% of all court cases with a 26% success rate. Of that 26%, 90% of the defendants had been previously diagnosed with mental illness.
So it seems that the insanity defense is rarely used and not a huge problem. Surprised?