How is membership defined?

That is up to your congregation. Most congregations define members as those who would be eligible to vote in a congregational meeting, in other words, the "voting members." Consult your congregation's bylaws for more specific information.