With no explanation, label text_A→text_B with either "DON'T KNOW", "NO" or "YES".
text_A: Although the First Amendment does not explicitly mention freedom of association, the Supreme Court ruled, in "National Association for the Advancement of Colored People v. Alabama" (1958), that this freedom was protected by the Amendment and that privacy of membership was an essential part of this freedom. The U.S. Supreme Court decided in "Roberts v. United States Jaycees" (1984) that "implicit in the right to engage in activities protected by the First Amendment" is "a corresponding right to associate with others in pursuit of a wide variety of political, social, economic, educational, religious, and cultural ends". In "Roberts" the Court held that associations may exclude people for reasons such as gender, so long as these reasons were fully unrelated to the group's expression.
text_B: If one thinks back to the case of Rachel Dolezal, an NAACP chapter president who was later revealed to be white, if the organization had tried to abolish her membership explicitly because she did not fit with their avowed mission, would this have been legal under the Roberts decision?
NO.