Pro použití pole pole postgresql musíte použít unnest() function.Ale nemůžete použít výsledek unnest() v where doložka.
Místo toho můžete použít array_to_string funkce. Vyhledávání podle řetězce other_names bude mít stejný efekt
from sqlalchemy import func as F
last_like = "%qq%"
matches = session.query(MyTable).filter(or_(
MyTable.name.ilike(last_like),
F.array_to_string(MyTable.other_names, ',').ilike(last_like),
)).all()