Mass. Gen. Laws ch. 33A, § 50A
Article 50A. Defense of lack of mental responsibility.
(c) Whenever lack of mental responsibility of the accused with respect to an offense is properly at issue, the military judge shall instruct the members of the court as to the defense of lack of mental responsibility under this article and charge them to find the accused:
(d) In the case of a court-martial composed of a military judge only or a summary court-martial officer, whenever lack of mental responsibility of the accused with respect to an offense is properly at issue, the military judge or summary court-martial officer shall find the accused:
(e) Notwithstanding the provisions of article 52, the accused shall be found not guilty only by reason of lack of mental responsibility if: