You can have a mental illness without it being considered a disability. Some mental health disorders, however, are legally considered disabilities.