Yes and there is a good reason but not what you think though. They do not keep you out due to the Ritalin. They keep you out because the Ritalin usage requirement says a condition that requires it's usage is still there. It didn't leave at puberty. Meaning probable sensory problems. I passed two military physicals while only having vision in one eye at a time. That is a sensory problem. At the same time I was diagnosed in early childhood in mid 1960's with ADHD. I did not have it and my reaction to Ritalin pointed to that fact.
These type problems can mean anything from no depth perception to inability to properly hear and understand orders. The Ritalin usage is a flag for a underlying Neurological condition and nothing more. That is the big secret the military understands about Ritalin usage.
Are you sure about that? I know of a young man who took Ritalin in High School (and that is in his public school records because I remember his mom worrying about that) and not sure if he is still taking Ritalin, but he was accepted in the army, doing well and just finishing boot camp.
Didn't one of the monsters behind the Columbine shootings want to join the military, but wasn't allowed due to him taking Ritalin?
Seven years in the armed forces; 12 since I moved on and I think I turned out ok.
SMACK! Don't worry, I'm ok.
That's gonna leave a mark.