What if you add another column to the table? It's neither input nor output, just intermediate column to help you. It will contain NOT(sel), the negated value of sel. How would that look like?
It would be more helpful if you order the table like that:
in sel NOT(sel) out
0 1 _ _
1 1 _ _
0 0 _ _
1 0 _ _