Set a condition for one field to be unique in all the content types.
You can implement a custom validation constraint and a hook_entity_bundle_field_info_alter to set the new constraint to your field.

Check: https://www.drupal.org/docs/8/api/entity-validation-api/providing-a-custom-validation-constraint