To photograph a building? You can take a photograph of the Knesset building and no one will ask any questions! It may be the norm in a paranoid dictatorship to arrest tourists for taking pictures, but not in a free society such as Israel or the US, or any European country.
Iranian parliamentary panel gives conditional nod to nuke deal (Reuters)
from the article: Israeli held in Libyan prison freed in secret deal