1040NR is for a non-resident. If you have stayed in America more than 180 days, you may not qualify for 1040NR.