When any person is held in prison or on bail, charged with an offense, and the grand jury does not find a true bill for reason of insanity of the accused or for reason that the accused has an intellectual disability, which they judge to be such that he or she was not responsible for his acts or omissions at the time when the act or omission charged was committed or made, the grand jury shall certify the fact to the circuit court and shall state whether or not the insane person or person with an intellectual disability is a danger to the security of persons and property and the peace and safety of the community, and if the grand jury reports that insanity or intellectual disability and that danger, the court shall immediately give notice of the case to the chancellor or to the clerk of the chancery court, whose duty it shall be to proceed with the insane person and his estate or the person with an intellectual disability according to the law provided in the case of persons with mental illness or persons with an intellectual disability.
Miss. Code § 99-13-5