It’s a bit counter-intuitive: create two AND cards, press on the one that you want to make an OR card, and an “or” divider will appear. Then move the card to below that divider.
OR only exists for conditions, not for triggers. So either you need to create a more generic trigger (“a motion alarm was triggered”) and use a condition to select particular devices, or you need to create two flows (one for each device).