You are a resident alien of the United States for tax purposes if you meet either the green card test or the substantial presence test for the calendar year (January 1-December 31). But students on an F1 visa must wait 5 calendar years before counting 183 days for the substantial presence test.
Therefore if you came on an F1 visa you will have to file form 1040NR with our partner Sprintax. You cannot use TurboTax to file form 1040NR.