Israel probably deployed these subs to diffuse the attention of the enemy. They probably serve little intelligence purpose and them carrying nukes does not fit any sound strategic plan. They are simply there to muddy the waters.
Route 1 to Jerusalem reopened to traffic as fire outside of Jerusalem continues (Haaretz)
from the article: Report: Israel to deploy nuclear-armed submarines off Iran coast