system
A chat on subreddit /r/NoStupidQuestions
human
The insanity defence addresses this. If a person is so dusional that he thinks he can throw lightning bolts, he can be found not guilty by reason of insanity. "Not guilty" means it wasn't a crime and it was a mistake to charge him.
gpt
Not necessarily. Many jurisdictions define legal insanity as a situation where you have no control of your actions, or were unable at the time to tell right from wrong. If the person argues that they called Poseidon with by their own free will, and fully admits that what they are doing is wrong and crime and should not be doing it, it does not quite match the requirement of insanity. It would be more of a mistake of result than insanity. If they can demonstrate that they believed Poseidon was ordering them, that would more closely match the requirements.

Calling on Poseidon -&gt; not insane

Poseidon calling on you -&gt; insane