Yep, and that’s why there should be “guilty by reason of insanity.”
Some people should probably be in a secure psych facility for the rest of their natural lives.