"A significant proportion of individuals with ASD have comorbid medical conditions such as epilepsy. In fact, treatment-resistant epilepsy appears to have a higher prevalence in children with ASD than in children without ASD, suggesting that current antiepileptic treatments may be suboptimal in controlling seizures in many individuals with ASD.
Many individuals with ASD also appear to have underlying metabolic conditions. Metabolic conditions such as mitochondrial disease and dysfunction and abnormalities in cerebral folate metabolism may affect a substantial number of children with ASD, while other metabolic conditions that have been associated with ASD such as disorders of creatine, cholesterol, pyridoxine, biotin, carnitine, γ-aminobutyric acid, purine, pyrimidine, and amino acid metabolism and urea cycle disorders have also been associated with ASD without the prevalence clearly known. Interestingly, all of these metabolic conditions have been associated with epilepsy in children with ASD."
Source: Epilepsy & Behavior