How neural networks deal with less important features

Suppose i have n features of X . and some of them are not important for predicting something (no correlation with y) then is it so that the weights associated with such inputs are close to zero?

Yes, you can say so if the network is properly trained.
To read more about this, you can look for articles or papers talking about Neural Networks as Feature Selectors.