The /execute @e[type=armor_stand,name=E1,r=5] run xp -1l @p[lm=5] won’t run properly in a chain command block and always results in No Targets Match Selector when in the selected area, the command block is set up properly as conditional and always active, and the armor stand is near the area I want it to be
the correct command is
/execute if entity @e[type=armor_stand,name=E1,r=5] run xp -1l @p[lm=5]