An event structure should be able to do this job.
You will also need some code to help out.
One method would be as follows.
Put an event structure in a while loop with 3 shift registers. One Shift register will hold the state of your output boolean. Another shift register can hold a boolean used to track when the change is "Armed" i.e. waiting to be changed. The other shift register will hold the time when the mouse down event is detected for your control boolean.
Use two events, 1 for mouse down, the other for mouse up.
In the mouse down, set the armed boolean true and save the time in the shift register.
In the mouse event, check the state of teh armed boolean flag and subtract the current time from the value in the shift register. Also set
teh armed flag to false.
When the Armed flag is true and the time is more than two seconds, change the state of your output.
This is quickly illustrated in the attached VI. (Note: Neatness does not count:>)).
Ben