Monte Carlo exploration of magnetic properties: Graphene and borophene comparison