code: def test_mixed_indexing():
      X = MatrixSymbol("X", 2, 2)
      Y = MatrixSymbol("Y", 2, 2)
      Z = MatrixSymbol("Z", 2, 2)
  
      assert (X * HadamardProduct(Y, Z))[0, 0] == X[0, 0] * Y[0, 0] * Z[
          0, 0
      ] + X[0, 1] * Y[1, 0] * Z[1, 0]
  
file_path: sympy/sympy/matrices/expressions/tests/test_hadamard.py
imports: from sympy.matrices.dense import Matrix, eye
  from sympy.matrices.exceptions import ShapeError
  from sympy.matrices.expressions.matadd import MatAdd
  from sympy.matrices.expressions.special import Identity, OneMatrix, ZeroMatrix
  from sympy.core import symbols
  from sympy.testing.pytest import raises, warns_deprecated_sympy
  from sympy.matrices import MatrixSymbol
  from sympy.matrices.expressions import HadamardProduct, hadamard_product, HadamardPower, hadamard_power
label_desc: Use image node_id 3 for calling a global function with example usage: test_mixed_indexing() without return types