Is Zanzibar a country?

In

No. However as a semi-autonomous part of Tanzania, Zanzibar does have its own government.