Was Israel within its rights to ban Rep. Omar and Rep. Tlaib from entering their country?

Was Israel within its rights to ban Rep. Omar and Rep. Tlaib from entering their country?

Source: Yahoo News