Blueprint Branch Node: Set condition If (X>Y)

Use GetActorLocation node to get the actor location.

Then you will get Vector from it. Drag node from the result, and type Break. This will break the Vector in to X, Y, Z.

Then just drag from X and type >, which will bring you Float Greather Than node, and you can then get boolean value from it, and branch it out.