I'm not going to go into the specifics of a case I just read about (the details are very upsetting), but a woman on trial for murder in Texas was found to meet the requirements to be considered insane at the time she committed the crime. A factor that was, because of miscommunication between the doctor and the attorneys, not brought up at her first trial (it was declared a mistrial), is that she has or had a brain tumor that caused her to have religion-based hallucinations which then led her to commit murder.
Sometimes the line between real life and art does get blurred...