The membership to the UN is not mandatory but is open to all nation-states who accept the obligations contained in the UN Charter.