The fact that the boy is dead is grim proof that he was "unable to mentally process his potential punishment".
I'm positive that you meant that he understood what 35 years in jail and a felony charge meant and was thus not unfit to stand trial under an insanity claim. That's fair.