By default, only people who are invited to your organisation or request to join can become a member. However, you can also open up the organisation so anyone can join.
Upgrade to Teams to enable access for people with an email of a specific domain.