Iran has executed a man convicted of spying for Israeli intelligence. State media identified him Saturday as Aghil Keshavarz, who allegedly had close ties with Mossad.