How to distinguish mental illness and neurodevelopmental disorders?
As @BryanKrause said; mental illness and neurodevelopmental conditions are not distinctively separable.
Example: Neurodevelopmental hypothesis of schizophrenia,
Obsessions and compulsions in Asperger syndrome and high-functioning autism
Etc.