Minecraft near command?

Pu
1

Hello in version 1.15.2 i have a zombie with the day 1 and would like to get a signal if it is near a command block but all commands don't recognize it but i know that it works, which command is correct?

gl

/ execute if entity @e [type = zombie, distance = .10, tag = 1] run command

10 is just an example

Goes 100%