The US never asked or forced you to swear an oath to a religion, or a government run by religious radicals like Israel's is. You were asked to swear a pledge of allegiance, which is perfectly okay. But not to a religion.
Western-backed Syrian rebels say kill foreign Islamic State (Reuters)
from the article: The Jewish Republic of Israel