What is meant by logic high or low
Depending on the logic family you use there are different thresholds for high/low states

Here is a table that shows these different levels (image source)



You should check the threshold levels in the datasheet of your device for the intended power supply level.

In any family, connecting an input pin to ground will definitely set it to LOW and connecting an input pin to Vcc will definitely set it to HIGH.