Need help with doorsensor rfx com

hi i am new here and i have a question.
i have a door sensor via rfxcom and it sends 2 on sigals. is there a way to link them together?
I added them as 2 sensors, one window open and one window closed as an RFXtrx Binary Sensor.
can someone help me?