The Universal Declaration of Human Rights (UDHR) and the International Covenant on Economic, Social and Cultural Rights (ICESCR) both affirm the right to education, which implicitly includes the right to *access* schooling. However, these are international agreements and their enforcement varies significantly from country to country. Many nations have enshrined this right into their own constitutions or laws, often with specifics about compulsory education (requiring children to attend school until a certain age).
Therefore, while not explicitly stated as "the right to go to school" in every jurisdiction, the underlying principle of the right to education strongly implies that children have a right to access schooling. The practical application and enforcement of this right, however, differ based on the legal systems and socio-economic conditions of individual countries and regions.