As Howard says. You need the quotes around STRINGS and you should also reference the Domain name to reduce the time required to locate the group.

If InGroup("SomeDomain\MyGroup")
  ;Do something
EndIf