That's a very broad generalization. The mental illness has to be determined to be severe enough that the applicant does not understand the meaning of the oath for an application to be denied. Making a declaration of mental illness at your interview is not an automatic path to denial.If you mentally ill to take the oath they will deny your application.