It does not work like that. Just getting married does not give citizenship.

And you will have to deal with the illegal status. Getting married does not change that. He would need to leave the...