IN()
in Sphinx behaves a little differently to how you're using it - the first argument should be the attribute:
with_delivery = "*, IF(delivery = 1 OR IN(region_id, 1, 2, 3), 1, 0) AS delivery"
Listing.search 'ipod',
select: with_delivery,
with: {delivery: 1}