Adapted from the Filter Howto:
"$ifgreater($strstr(%TITLE%,%COMPOSER%),0,yes,no)" IS yes
I'm not sure if you want to filter/list
the tracks where TITLE has exactly the same content as COMPOSER or if you want to see the tracks where the content of one field is part of another field.