A neurologist can diagnose certain mental illnesses, especially those associated with abnormal brain function or structure that result in abnormal mental status. These include cognitive disorders, neuropsychiatric disorders, movement disorders, ADHD, autism spectrum disorders, etc.