He said he would now consider "all options... to remove the infiltrators".
The fate of more than 30,000 migrants, who entered the country illegally, has long been a hugely contentious issue.
The UN's refugee agency, the UNHCR, said Mr Netanyahu's decision was a "disappointment" and urged the Israeli government to "consider the matter further".