Autism is a developmental disability, and not a mental illness. However, people with autism can develop mental illness just as anyone in the population can.
Based on my experiences with autism I highly agree that autism is not a mental health condition, however some autistic symptoms can mimic certain mental health issues