Section 368(3) in Bharatiya Nagarik Suraksha Sanhita, 2023
(3)If the Magistrate or Court is informed that the person referred to in sub-section (2) is a person of unsound mind, the Magistrate or Court shall further determine whether the unsoundness of mind renders the accused incapable of entering defence and if the accused is found so incapable, the Magistrate or Court shall record a finding to that effect and shall examine the record of evidence produced by the prosecution and after hearing the advocate of the accused but without questioning the accused, if the Magistrate or Court finds that no prima facie case is made out against the accused, he or it shall, instead of postponing the trial, discharge the accused and deal with him in the manner provided under section 369:Provided that if the Magistrate or Court finds that a prima facie case is made out against the accused in respect of whom a finding of unsoundness of mind is arrived at, he shall postpone the trial for such period, as in the opinion of the psychiatrist or clinical psychologist, is required for the treatment of the accused.