How could I do a "OR" in the Animator?

I want to make that a float needs to be x or y to go to a state. Can I do that?

you can use an if statement within the code that activates the animation and by adding || which means or, so for example:

if(condition_a || condition_b)
{
        //animation activation code here
}