Kan. Stat. Ann. § 21-5209
It shall be a defense to a prosecution under any statute that the defendant, as a result of mental disease or defect, lacked the culpable mental state required as an element of the crime charged. Mental disease or defect is not otherwise a defense.
L. 2010, ch. 136, § 20; July 1, 2011.