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.
Code of Criminal Procedure (CrPC)
331 CrPC Resumption of inquiry or trial
332 CrPC Procedure on accused appearing before Magistrate or Court
333 CrPC When accused appears to have been of sound mind
334 CrPC Judgment of acquittal on ground of unsoundness of mind
335 CrPC Person acquitted on such ground to be detained in safe custody
336 CrPC Power of State Government to empower officer-in-charge to discharge
337 CrPC Procedure where lunatic prisoner is reported capable of making his defence
338 CrPC Procedure where lunatic detained is declared fit to be released