Most likely is that the s2 (which is NOT shown for the Arithmetic operations) is zero for Arithmetic operations and one for logic operations.
That makes that the Arithmetic operations and logic operations are independent functions.
Even if that is not the case there may be other selection/decoder bits which distinguish which operation to perform.
e.g. You ...