I heard from the TV lawyers on Fox that Massachusetts law puts the burden on the state to prove the person isn’t insane instead of just proving guilt, instead of putting the burden on the defense to prove ther client is insane.
I think that standard would apply in all states. A defendant never has to prove their innocence. That goes no matter the reason why the state believes they are guilty. The defendant’s mental status is just another factor added into evidence.