The diagram shows a number in binary, and two logic gates (NAND gate above, NOR gate below).
In decimal the number is 149.
The logic inputs are attached to boxes containing bit values. Outputs (boolean results) lead to boxes representing bit values.
There does not appear to be any pattern, or operation, or sequence of operations, which produced the binary number.
However in your boyfriend's mind, by moving the inputs and outputs in a certain pattern from right to left, it might generate a series of binary values that have some meaning.
One wonders if he was too bashful to draw a cute picture of a robot with its arms reaching out to you, saying 'Thinking of you'.