Code of Criminal Procedure, 1973
Chapter 25 Provisions as to Accused Persons of Unsound Mind
Section 334: Judgment of acquittal on ground of unsoundness of mind
Whenever any person is acquitted upon the ground that, at the time at which he is alleged to have committed an offence, he was, by reason of unsoundness of mind, incapable of knowing the nature of the act alleged as constituting the offence, or that it was wrong or contrary to law, the finding shall state specifically whether he committed the act or not.