It may be that autism has some kind of autoimmune component that impairs neurological function. But that is still different from an allergy.