How can an illegal immigrant join the army to become a us citizen?

You can't join the U.S. Army if you're illegal...