The “substantial presence” test often determines whether a nonimmigrant alien individual will be treated as a U.S. resident for federal tax purposes. The test is objective and mechanical. It provides ...