Competency to stand trial, insanity, and diminished capacity in each state's statutes

Differentiate between the terms of competency to stand trial, insanity, and diminished capacity in each state's statutes