Boolean AND.
fem=and(fem1,fem2)fem=fem1&fem2
AND returns the IMAT_FEM based on the input IMAT_FEM A which has entities common to both A and B. It matches by ID only.
imat_fem/or