(1) Any defendant may file a motion with the trial court in which the defendant may allege that such defendant is a mentally retarded defendant or a defendant with an intellectual and developmental disability. The motion must be filed at least ninety-one days prior to trial.
(2) The court shall hold a hearing upon any motion filed pursuant to subsection (1) of this section and shall make a determination regarding the motion no later than fourteen days prior to trial. At such hearing, the defendant must be permitted to present evidence with regard to the motion and the prosecution must be permitted to offer evidence in rebuttal. The defendant has the burden of proof to show by clear and convincing evidence that he or she is mentally retarded or has an intellectual and developmental disability.
(3) The court shall enter specific findings of fact and conclusions of law regarding whether or not the defendant is a mentally retarded defendant or a defendant with an intellectual and developmental disability, as defined in section 18-1.3-1101.