code: def binary_dis(x, y):
      return sum(faiss.popcount64(int(xi ^ yi)) for xi, yi in zip(x, y))
  
imports: import os
  import numpy
  import unittest
  import faiss
  from common_faiss_tests import compare_binary_result_lists, make_binary_dataset
label_desc: Use image node_id 2 for calling a global function with example usage: binary_dis(x, y) and returns: sum