If you are an alien (not a U.S. citizen), you are considered a nonresident alien unless you meet one of the two tests described, next, under Resident Aliens.