DSM-5 literally stands for "Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition". It does not include things like epilepsy, migraine, cluster headaches, stroke, or brain tumor. It doesn't even really include diseases such as Alzheimer's and Parkinson's - notice that the coding is "neurocognitive decline due to" AD/PD/etc. It is not meant for primary diagnosis of these diseases. It is meant for diagnosis of mental health issues, which can result from a variety of causes we understand to varying degrees.
All psychiatric diseases will likely fall under neurology some day, probably split into many more different disorders. Although you could make a case they should already be considered neurology, I think that needs to be an all or nothing decision. People that try to split out a handful of the psychiatric disorders are just perpetuating stigma. At this very moment there is more scientific evidence linking Schizophrenia to brain abnormalities than there is for ADHD (mostly as a result of more Schizophrenia neuro research occuring), yet I don't see anyone trying to call Schizophrenia neurological and ADHD not. I wonder why...
So if you think they are all neurological disorders fine, but ADHD is absolutely more similar to the disorders we would cluster under psychiatry than the disorders we would cluster under neurology. It is diagnosed purely via behavioral assessment, not biomarkers or brain scans. It directly impacts motivation levels, self control, and emotion regulation. If that's not mental I'm not sure what is.
It's also directly covered by NIMH funding, so pretty clearly it is considered a mental illness by the medical community, yet your original claim was that it is not - not that it shouldn't be.