Join Node As Function Node

I am working on some scheme that will monitor the work of some pumps in some station.On scheme i have lots of nodes but there is 1 "node" that is combination of 3 nodes and whose output depends on given inputs.(IF statements).My boss want me to make a node that will do exactly that. So i must combine Join node and Function node in 1 node for it to work.Its so unclear to me idk