It depends on if you’re checking before or after ACF has saved the values.
Before, your action has a priority < 10, you need to field key and the value submitted in the other field will be in $_POST[‘acf’][‘THE FIELD KEY’].
After, your action has a priority > 10, you can just get the other field like you normally would with get_field()