US
According to scholars, insanity may be raised as a defence not only against the crime itself but against the trial.