Fla. Stat. § 775.027
(1) AFFIRMATIVE DEFENSE.--All persons are presumed to be sane. It is an affirmative defense to a criminal prosecution that, at the time of the commission of the acts constituting the offense, the defendant was insane. Insanity is established when:
(b) Because of this condition, the defendant:
1. Did not know what he or she was doing or its consequences; or
2. Although the defendant knew what he or she was doing and its consequences, the defendant did not know that what he or she was doing was wrong. Mental infirmity, disease, or defect does not constitute a defense of insanity except as provided in this subsection.
History.--s. 1, ch. 2000-315.