Hi Florian! I had to dig into our source code to figure this one out! This should do the trick:
<Math>rand_int(1, 2)</Math>
Thanks for this question, I actually learnt a bit about what our Math tag is capable of. It’s not well documented yet, but here’s the documentation that is available: Math | Tangible Loops & Logic