Being rational doesn't prevent you to be wrong. If your assumption is that the government tells the truth and you conclude that mask don't work. Then you have reasoned rationally.
But if you dont trust the governement, and for this specific case you followed them, then this is not rational.