Unless it's a federal government job that in most cases require citizenship, or a government contractor job that needs security clearance, it's actually illegal to outright deny applicants based on citizenship status. Private companies that understand the law typically ask whether or not you need sponsorship to work in USA.