Competency refers to a defendant's capacity to comprehend the allegations, while insanity refers to the mental state of the defendant at the time of the crime. What is Competency? Competency determines whether a defendant will be able to appear at trial and understand the proceedings.