——Someone who is here illegally should not be able to apply for citizenship——
According to naturalization requirements, they cannot be illegals
You have lived in the U.S. lawfully as a permanent resident for at least five years unless you are a spouse of a U.S. citizen, refugee, or received your green card through political asylum.