code: def _unique_update_mask_equal_nan(mask, x0):
      mask1 = cupy.logical_not(cupy.isnan(x0))
      mask[:] = cupy.logical_and(mask, mask1)
  
file_path: cupy/cupy/_manipulation/add_remove.py
imports: import numpy
  import cupy
  import math
  from cupy import _core
label_desc: Use image node_id 5 for calling a global function with example usage: _unique_update_mask_equal_nan(mask, x0) without return types