\documentclass[a4paper]{article}
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\begin{document}
\thispagestyle{empty}
\section*{No entry in table of contents}
\section[Entry in table of contents]{Actual chapter heading}
\end{document}
