I don't think there was any sort of declaration of competency or consideration of such. The practice of the day just didn't consider mental illness, certainly as any sort of defense (although such a defense had been used a few times - but I don't think in the U.S.). If you were insane and killed somebody they hung you just like they did sane murderers. Why you committed the crime really wasn't an issue.