Use 'iswm' instead of 'isin'.

if word iswm $strip($1-) { ... }