Investigators said the suspect, a 26-year-old from Jerusalem, had been in contact with Iranian intelligence officials for several months and carried out various security-related tasks at their direction, such as identifying associates of Knesset members and distressed individuals willing to commit murders for Iran