The Israeli military said the man drove to the entrance of an Israeli town close to the border, left his vehicle and approached the security forces with a knife.