371. (1) If, when the accused appears or is again brought before the Magistrate or Court, as the case may be, the Magistrate or Court considers him capable of making his defence, the inquiry or trial shall proceed.
(2) If the Magistrate or Court considers the accused to be still incapable of making his defence, the Magistrate or Court shall act according to the provisions of section 367 or section 368, as the case may be, and if the accused is found to be of unsound mind and consequently incapable of making his defence, shall deal with such accused in accordance with the provisions of section 369.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 371 Procedure on accused appearing before Magistrate or Court
Section 372 When accused appears to have been of sound mind
Section 373 Judgment of acquittal on ground of unsoundness of mind
Section 374 Person acquitted on ground of unsoundness of mind to be detained in safe custody
Section 375 Power of State Government to empower officer in charge to discharge
Section 376 Procedure where prisoner of unsound mind is reported capable of making his defence
Section 377 Procedure where person of unsound mind detained is declared fit to be released
Section 378 Delivery of person of unsound mind to care of relative or friend