“During the alleged acts on July 15, 17 and 21, 2023, he was in an unsound mental state and was not aware of the nature and consequences of the act and was unable to know that those acts were unlawful.

“His schizophrenia has caused cognitive impairment to such an extent as to render him incapable of knowing or understanding the nature of this case — stalking,” he told the court.