You would probably need to add a computed attribute to have some custom logic.
(speed > 10) || (attributes.in5 == 1) I used this one, but it didn't work.
It's definitely incorrect. And you're missing important context on what attribute is this and how you're doing filtering.
Can you give me some example attribute?
Can you help me with another setting? I want it to not show any movement on the map when the speed is below 10km/h and I don't have a signal on in5 at the same time (which is ignition in my case)