Entity field query condition to match multi-value field
$query = new EntityFieldQuery();
$query-&gt;entityCondition('entity_type', 'node')
       -&gt;entityCondition('bundle', 'node_type')
       -&gt;fieldCondition('field_myfield', 'target_id', array(
          $id_1,
          $id_2
        ), 'IN');


For reference see https://www.drupal.org/docs/7/creating-custom-modules/howtos/how-to-use-entityfieldquery-for-drupal-7