How to conditionally register nav menus with advanced custom fields?

You can access ACF values in functions.php and you’ll have to.

Registering menus in template file won’t work, because templates are loaded after after_setup_theme is run. So if you add any action to that hook in template file, that action won’t run – they’re registered to late…